<div id="ajax_upload" style="border:1px solid #999;width:420px;background:#FFF;display:none;">
	<div class="header" style="padding:2px 5px; font-size:14px;margin:0px;">
		<strong>UPLOAD ẢNH CHO GIAO DỊCH </strong><img src="style/images/ovl_close.gif" width="13" height="13" onclick="close_upload();" title="Close..." style="cursor:pointer; padding:2px; margin-left:190px; *margin-left:190px;_margin-left:200px; position:absolute" />
	</div>
	<div style="padding:5px;">
		<form class="upload_form" id="upload_form" name="upload_form" enctype="multipart/form-data" method="post" action="">
			<table cellpadding="1" border="0" style="width:400px;">	
				<tr>
					<td width="100" align="center" valign="middle" style="width:100px;height:100px;vertical-align:middle;border:1px solid #CCC">
						<img src="{$no_img_upload}" align="absmiddle" alt="" name="thumb" id="thumb"  title="" height="100"  width="100"/>
					</td>
					<td  align="left" valign="top">
						<div style="position: relative">
							{*<input type="file" style="position:relative;text-align: right;-moz-opacity:0 ;filter:alpha(opacity: 0);opacity: 0;z-index: 2;" size="42" name="img_upload" id="img_upload"/>
							<div style="position:absolute;top: 0px;left: 0px;z-index:1;">
								<input class="fake_input"  value="Chọn ảnh từ máy tính..."   id="fake_input" style="border:1px solid #CCCCCC;float:left;margin-top:2px;width:200px" /><img src="style/images/button_chon_anh.gif" />        		
							</div>
							*}
						  <input type="file" style="" size="42" name="img_upload" id="img_upload" accept="image/gif,image/jpg,image/jpeg,image/png"/>
						</div>
						<div style="margin-top:5px; margin-bottom:5px;">(jpg, jpeg, gif, png &lt; 2MB)</div>
					
						<input type="text" name="url" id="url" onblur="{literal}if(this.value==''){ this.value = 'Hoặc Url';}" onclick="if(this.value=='Hoặc Url'){this.value=''}{/literal}" value="Hoặc Url" style="margin-top:2px;width:200px;float:left;" /> 
						<img id="loading" src="style/images/uploading.gif" style="float:left;margin-left:6px;display:none"/>
					
						<div style="color:#999;float:left;width:280px;overflow:hidden" id="real_name"></div >
						<div style="float:left;margin:4px 0 0 0;width:280px">
						<input type="submit" value="Tải lên" style="cursor:pointer;float:left;width:80px"/> 
						<input type="button" value="Nhập lại" id="cancel" style="cursor:pointer;width:30px;float:left;margin-left:14px;width:80px"/> 
						<input type="button" value="Đóng cửa sổ" onclick="close_upload();" style="cursor:pointer;width:30px;float:left;margin-left:14px;width:80px"/> 
					</div>
				</td>
				</tr>    
			</table>
		</form>
	</div>
</div>

<div style=" border:3px solid #999; padding:2px; height:460px; background-color:#FFFFFF;width:630px; position:absolute; display:none;left:50%;margin-left:-156px;*margin-left:-155px;top:150px;z-index:10000" id="ajax_gallery">
	<div class="header" style="padding:5px; font-size:14px;cursor:move;position:relative;margin:0px;" id="ajax_gallery_header"><div style="width:570px;overflow:hidden"><strong>Thư viện ảnh của "{$user_name}"</strong> [ <a href="personal.html?cmd=gallery" target="_blank" style="color:#0033FF">Tới thư viện ảnh</a> ]</div>
    <div><img src="style/images/i_close2.gif" width="13" height="13" onclick="close_gallery();" style="cursor:pointer; padding:2px; margin-left:595px; margin-top:-27px; position:absolute"  /></div></div>
    <div style="height:380px;overflow:auto" id="gallery_content" align="center"></div>
    <div style="padding-top:10px;height:10px;" align="center"><input type="button" value="Làm mới" onclick="reload_gallery();" title="Load lại thư viện ảnh" style="width:100px;cursor:pointer"/> <input type="button" style="width:100px; cursor:pointer" onclick="close_gallery();" value="Đóng cửa sổ" title="Đóng cửa sổ"/></div>
</div>

	<div id="fastUploadProgress" style="width:200px; margin-left:50px;display:none;">
    	Uploading.. <img id="loading" src="style/images/uploading.gif" style="float:left;margin-left:6px;display:none"/>
    </div>

    <div id="divSWFUploadUI">
        <div id="fsUploadProgress">
        </div>
        <noscript style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px;">
            We're sorry.  SWFUpload could not load.  You must have JavaScript enabled to enjoy SWFUpload.
        </noscript>
        <div id="divLoadingContent" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
            SWFUpload is loading. Please wait a moment...
        </div>
        <div id="divLongLoading" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
            SWFUpload is taking a long time to load or the load has failed.  Please make sure that the Flash Plugin is enabled and that a working version of the Adobe Flash Player is installed.
        </div>
        <div id="divAlternateContent" class="content" style="background-color: #FFFF66; border-top: solid 4px #FF9966; border-bottom: solid 4px #FF9966; margin: 10px 25px; padding: 10px 15px; display: none;">
            We're sorry.  SWFUpload could not load.  You may need to install or upgrade Flash Player.
            Visit the <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Adobe website</a> to get the Flash Player.
        </div>
    </div>

<div class="ovl_list_img" id="ajax_list_img">
    <iframe id="cropIframe" width="710px" height="439px" scrolling="no" frameborder="0"></iframe>
</div>